package cn.com.woxitech.dev.model.gen;

import java.util.ArrayList;
import java.util.List;

public class WmCatalogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WmCatalogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNull() {
            addCriterion("ordernum is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNotNull() {
            addCriterion("ordernum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumEqualTo(Integer value) {
            addCriterion("ordernum =", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotEqualTo(Integer value) {
            addCriterion("ordernum <>", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThan(Integer value) {
            addCriterion("ordernum >", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernum >=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThan(Integer value) {
            addCriterion("ordernum <", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThanOrEqualTo(Integer value) {
            addCriterion("ordernum <=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumIn(List<Integer> values) {
            addCriterion("ordernum in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotIn(List<Integer> values) {
            addCriterion("ordernum not in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumBetween(Integer value1, Integer value2) {
            addCriterion("ordernum between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernum not between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andApp1IsNull() {
            addCriterion("app_1 is null");
            return (Criteria) this;
        }

        public Criteria andApp1IsNotNull() {
            addCriterion("app_1 is not null");
            return (Criteria) this;
        }

        public Criteria andApp1EqualTo(Integer value) {
            addCriterion("app_1 =", value, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1NotEqualTo(Integer value) {
            addCriterion("app_1 <>", value, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1GreaterThan(Integer value) {
            addCriterion("app_1 >", value, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_1 >=", value, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1LessThan(Integer value) {
            addCriterion("app_1 <", value, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1LessThanOrEqualTo(Integer value) {
            addCriterion("app_1 <=", value, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1In(List<Integer> values) {
            addCriterion("app_1 in", values, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1NotIn(List<Integer> values) {
            addCriterion("app_1 not in", values, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1Between(Integer value1, Integer value2) {
            addCriterion("app_1 between", value1, value2, "app1");
            return (Criteria) this;
        }

        public Criteria andApp1NotBetween(Integer value1, Integer value2) {
            addCriterion("app_1 not between", value1, value2, "app1");
            return (Criteria) this;
        }

        public Criteria andApp2IsNull() {
            addCriterion("app_2 is null");
            return (Criteria) this;
        }

        public Criteria andApp2IsNotNull() {
            addCriterion("app_2 is not null");
            return (Criteria) this;
        }

        public Criteria andApp2EqualTo(Integer value) {
            addCriterion("app_2 =", value, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2NotEqualTo(Integer value) {
            addCriterion("app_2 <>", value, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2GreaterThan(Integer value) {
            addCriterion("app_2 >", value, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_2 >=", value, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2LessThan(Integer value) {
            addCriterion("app_2 <", value, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2LessThanOrEqualTo(Integer value) {
            addCriterion("app_2 <=", value, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2In(List<Integer> values) {
            addCriterion("app_2 in", values, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2NotIn(List<Integer> values) {
            addCriterion("app_2 not in", values, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2Between(Integer value1, Integer value2) {
            addCriterion("app_2 between", value1, value2, "app2");
            return (Criteria) this;
        }

        public Criteria andApp2NotBetween(Integer value1, Integer value2) {
            addCriterion("app_2 not between", value1, value2, "app2");
            return (Criteria) this;
        }

        public Criteria andApp3IsNull() {
            addCriterion("app_3 is null");
            return (Criteria) this;
        }

        public Criteria andApp3IsNotNull() {
            addCriterion("app_3 is not null");
            return (Criteria) this;
        }

        public Criteria andApp3EqualTo(Integer value) {
            addCriterion("app_3 =", value, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3NotEqualTo(Integer value) {
            addCriterion("app_3 <>", value, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3GreaterThan(Integer value) {
            addCriterion("app_3 >", value, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_3 >=", value, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3LessThan(Integer value) {
            addCriterion("app_3 <", value, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3LessThanOrEqualTo(Integer value) {
            addCriterion("app_3 <=", value, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3In(List<Integer> values) {
            addCriterion("app_3 in", values, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3NotIn(List<Integer> values) {
            addCriterion("app_3 not in", values, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3Between(Integer value1, Integer value2) {
            addCriterion("app_3 between", value1, value2, "app3");
            return (Criteria) this;
        }

        public Criteria andApp3NotBetween(Integer value1, Integer value2) {
            addCriterion("app_3 not between", value1, value2, "app3");
            return (Criteria) this;
        }

        public Criteria andApp4IsNull() {
            addCriterion("app_4 is null");
            return (Criteria) this;
        }

        public Criteria andApp4IsNotNull() {
            addCriterion("app_4 is not null");
            return (Criteria) this;
        }

        public Criteria andApp4EqualTo(Integer value) {
            addCriterion("app_4 =", value, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4NotEqualTo(Integer value) {
            addCriterion("app_4 <>", value, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4GreaterThan(Integer value) {
            addCriterion("app_4 >", value, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_4 >=", value, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4LessThan(Integer value) {
            addCriterion("app_4 <", value, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4LessThanOrEqualTo(Integer value) {
            addCriterion("app_4 <=", value, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4In(List<Integer> values) {
            addCriterion("app_4 in", values, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4NotIn(List<Integer> values) {
            addCriterion("app_4 not in", values, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4Between(Integer value1, Integer value2) {
            addCriterion("app_4 between", value1, value2, "app4");
            return (Criteria) this;
        }

        public Criteria andApp4NotBetween(Integer value1, Integer value2) {
            addCriterion("app_4 not between", value1, value2, "app4");
            return (Criteria) this;
        }

        public Criteria andApp5IsNull() {
            addCriterion("app_5 is null");
            return (Criteria) this;
        }

        public Criteria andApp5IsNotNull() {
            addCriterion("app_5 is not null");
            return (Criteria) this;
        }

        public Criteria andApp5EqualTo(Integer value) {
            addCriterion("app_5 =", value, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5NotEqualTo(Integer value) {
            addCriterion("app_5 <>", value, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5GreaterThan(Integer value) {
            addCriterion("app_5 >", value, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_5 >=", value, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5LessThan(Integer value) {
            addCriterion("app_5 <", value, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5LessThanOrEqualTo(Integer value) {
            addCriterion("app_5 <=", value, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5In(List<Integer> values) {
            addCriterion("app_5 in", values, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5NotIn(List<Integer> values) {
            addCriterion("app_5 not in", values, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5Between(Integer value1, Integer value2) {
            addCriterion("app_5 between", value1, value2, "app5");
            return (Criteria) this;
        }

        public Criteria andApp5NotBetween(Integer value1, Integer value2) {
            addCriterion("app_5 not between", value1, value2, "app5");
            return (Criteria) this;
        }

        public Criteria andApp6IsNull() {
            addCriterion("app_6 is null");
            return (Criteria) this;
        }

        public Criteria andApp6IsNotNull() {
            addCriterion("app_6 is not null");
            return (Criteria) this;
        }

        public Criteria andApp6EqualTo(Integer value) {
            addCriterion("app_6 =", value, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6NotEqualTo(Integer value) {
            addCriterion("app_6 <>", value, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6GreaterThan(Integer value) {
            addCriterion("app_6 >", value, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_6 >=", value, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6LessThan(Integer value) {
            addCriterion("app_6 <", value, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6LessThanOrEqualTo(Integer value) {
            addCriterion("app_6 <=", value, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6In(List<Integer> values) {
            addCriterion("app_6 in", values, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6NotIn(List<Integer> values) {
            addCriterion("app_6 not in", values, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6Between(Integer value1, Integer value2) {
            addCriterion("app_6 between", value1, value2, "app6");
            return (Criteria) this;
        }

        public Criteria andApp6NotBetween(Integer value1, Integer value2) {
            addCriterion("app_6 not between", value1, value2, "app6");
            return (Criteria) this;
        }

        public Criteria andApp7IsNull() {
            addCriterion("app_7 is null");
            return (Criteria) this;
        }

        public Criteria andApp7IsNotNull() {
            addCriterion("app_7 is not null");
            return (Criteria) this;
        }

        public Criteria andApp7EqualTo(Integer value) {
            addCriterion("app_7 =", value, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7NotEqualTo(Integer value) {
            addCriterion("app_7 <>", value, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7GreaterThan(Integer value) {
            addCriterion("app_7 >", value, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_7 >=", value, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7LessThan(Integer value) {
            addCriterion("app_7 <", value, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7LessThanOrEqualTo(Integer value) {
            addCriterion("app_7 <=", value, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7In(List<Integer> values) {
            addCriterion("app_7 in", values, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7NotIn(List<Integer> values) {
            addCriterion("app_7 not in", values, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7Between(Integer value1, Integer value2) {
            addCriterion("app_7 between", value1, value2, "app7");
            return (Criteria) this;
        }

        public Criteria andApp7NotBetween(Integer value1, Integer value2) {
            addCriterion("app_7 not between", value1, value2, "app7");
            return (Criteria) this;
        }

        public Criteria andApp8IsNull() {
            addCriterion("app_8 is null");
            return (Criteria) this;
        }

        public Criteria andApp8IsNotNull() {
            addCriterion("app_8 is not null");
            return (Criteria) this;
        }

        public Criteria andApp8EqualTo(Integer value) {
            addCriterion("app_8 =", value, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8NotEqualTo(Integer value) {
            addCriterion("app_8 <>", value, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8GreaterThan(Integer value) {
            addCriterion("app_8 >", value, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_8 >=", value, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8LessThan(Integer value) {
            addCriterion("app_8 <", value, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8LessThanOrEqualTo(Integer value) {
            addCriterion("app_8 <=", value, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8In(List<Integer> values) {
            addCriterion("app_8 in", values, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8NotIn(List<Integer> values) {
            addCriterion("app_8 not in", values, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8Between(Integer value1, Integer value2) {
            addCriterion("app_8 between", value1, value2, "app8");
            return (Criteria) this;
        }

        public Criteria andApp8NotBetween(Integer value1, Integer value2) {
            addCriterion("app_8 not between", value1, value2, "app8");
            return (Criteria) this;
        }

        public Criteria andApp9IsNull() {
            addCriterion("app_9 is null");
            return (Criteria) this;
        }

        public Criteria andApp9IsNotNull() {
            addCriterion("app_9 is not null");
            return (Criteria) this;
        }

        public Criteria andApp9EqualTo(Integer value) {
            addCriterion("app_9 =", value, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9NotEqualTo(Integer value) {
            addCriterion("app_9 <>", value, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9GreaterThan(Integer value) {
            addCriterion("app_9 >", value, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_9 >=", value, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9LessThan(Integer value) {
            addCriterion("app_9 <", value, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9LessThanOrEqualTo(Integer value) {
            addCriterion("app_9 <=", value, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9In(List<Integer> values) {
            addCriterion("app_9 in", values, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9NotIn(List<Integer> values) {
            addCriterion("app_9 not in", values, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9Between(Integer value1, Integer value2) {
            addCriterion("app_9 between", value1, value2, "app9");
            return (Criteria) this;
        }

        public Criteria andApp9NotBetween(Integer value1, Integer value2) {
            addCriterion("app_9 not between", value1, value2, "app9");
            return (Criteria) this;
        }

        public Criteria andApp10IsNull() {
            addCriterion("app_10 is null");
            return (Criteria) this;
        }

        public Criteria andApp10IsNotNull() {
            addCriterion("app_10 is not null");
            return (Criteria) this;
        }

        public Criteria andApp10EqualTo(Integer value) {
            addCriterion("app_10 =", value, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10NotEqualTo(Integer value) {
            addCriterion("app_10 <>", value, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10GreaterThan(Integer value) {
            addCriterion("app_10 >", value, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10GreaterThanOrEqualTo(Integer value) {
            addCriterion("app_10 >=", value, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10LessThan(Integer value) {
            addCriterion("app_10 <", value, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10LessThanOrEqualTo(Integer value) {
            addCriterion("app_10 <=", value, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10In(List<Integer> values) {
            addCriterion("app_10 in", values, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10NotIn(List<Integer> values) {
            addCriterion("app_10 not in", values, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10Between(Integer value1, Integer value2) {
            addCriterion("app_10 between", value1, value2, "app10");
            return (Criteria) this;
        }

        public Criteria andApp10NotBetween(Integer value1, Integer value2) {
            addCriterion("app_10 not between", value1, value2, "app10");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}